Creating a webservice to control and monitor the state of a Matrix Switch via RS-323 serial port.