integrated phaser and added animations