Added Phase Functionality

Made some more changes to the way phases are play, will make it easier
to determine if a phase has been completed