game_data.rb: add class to take care of current game data
Some trivial refactoring.