Move emulator.py to it own folder and continue it implementation