state is incomplete, framework is now structured correctly with game.js being the only dependency of main.js