Add basic motor driver code without support libraries