Adding documentation for the schedule state machine
Updated Schedule model to support state machine
Formatting/whitespace fixes
Adding details to state machine