Added the beginnings of motor abstraction.