Change CMAKE to include motor.cpp