140107 - StateMachine first implementation