Basic FSM implementation
Checking FSM definition in getStates
FSM state getters refactor