Refactor most of GameLogic. AH-195