Breaking apart the game engine