Added a small game state data structure for game state and player. Also updated handlers to provide JSON encoding of the state to url ending /game.