Made the settings file work and added the ability to exit the game without winning or losing.
Added resource handling and game state parent class.