Create engine.py

Initial push