added core functionality for starting a new game.