PhaseSate Mostly Done

The PhaseState Class is done, for now. It is lacking a little bit of
documentation, but that doesn't matter to much right now. It should hold and
allow for everything we need in a state, and a way to access that data.