Restructure and File Handler

Restructured the code. Also added in a file handler to manage all the
game saves and settings.