Added the game class, and a basic gameloop