First step of making state machine work... getting FSM software integrated