file management and static changes to Motor.py