take out entity creation from game.js