* reformats code
* adds config and version classes
* uses config in game class