Added several aspects of the game engine