Added MotorControl class