Finishing main functionality except for GameRunner.