StateMachine (Class)

Class implementing the State Machine block.