split the big game.js into smaller files