started the parsing of the messages and state machine