refactor part 1; moved everything to use phaser's project template