Adds Phases.js

moves object to seperate file to make adding phases easier