Refactor motor definition in player
Wrap phaser game in object