Finished modularizing the game.