Connector for hardwarelayer deals with messages and connect to thq mqtt broker