Create MotionDetector.cpp