Added basic event system
Moved a lot of functionality into a Game class