Add save function to config
Add possibility to save values to config
Save config upon exiting game