Refactoring.

Final classes. Move GameConfig implementation to the cpp file.