Move event handling to the engine / renamed gameEngine -> engine

+ Some formatting