FSM is using one callback for all state

FSM was updated to read all data from external file for the steam
production part, and evaluate states (state, input) to perform actions
(output, message) using only one callback function.