added a state machine api for Promenade
mixed the state machine into Promenade view
Merge pull request #67 from dabohealth/features/state-machine

Features/state machine