finish working skeleton of game.