Actual version of the Parser with funcs to handle messages