Finished config

Finished implementing and integrating config in game logic