Adding motor.py to the repository