CHANGE: moved static motordriver code into MotorDriver