Refactored phases, added notion of intergreen and allRed time inbetween phases, added Amber state and removed GreenRed/RedGreen, added ability for skipping of undemanded phases