Pull a lot of engine out of main.asm