Task 129 renamed StateMachine to EnumStateMachine