Added coomunication state machine, parsers and generators (port not finished)