Adding MonitoringAgent

Fixed a bug in QrReceiver