Started to add a Game class

The Game class will encapsulate some of the stuff in main.js