Made major changes in file structure

Moved everything into a Game class to make the main file simpler. Much
more organized now, and can better implement the other functions.