Add StateMachine Demo