Create motion.py