Added some changes to the game engine - more functionality