adding save function, write save, and game controller class that will control the entire game after main menu