Create machine.py