Hi,
From your avatar it looks like you have a Siberian Husky? They are so much fun!
So in my classes the first thing we teach is Look and Touch - I find both of these great redirectors when their attention goes elsewhere. Look means make eye contact and Touch is to touch my palm with their nose - so when he is going every which way you can use those to bring his focus back to you.
As for the walking nicely - there is a great thread about this in progress here:
http://www.dogtrickacademy.com/members/forums/threads/easy-cheesy-way-to-teach-heelwork.4339/page-2#post-39666
There have been tons of videos made about this very subject - so I thought I would share a few of my favorites.
Kikopup:
Clickergirl1105: (this is pretty much how I teach it)
Tab289:
Hope this helps!