Create motor.cpp