Implemented control of the motors from python