Split out rewrite into seperate files. Added Phaser effect. Fixed general bugs in Effect class