Create motion.cpp