Motor.h and more OOP

Moved motor comands and classes into Motor.h.  Also added a namespace
for Direction to make it available in more places.  Next OOP
improvement is to implement a controller class.  I just need to
think about the interface a little so I like it.