Added missing counters and fixed Receiver issue

Created seperate class for counters and added missing counters:
* Existing Messages per Second
* New Messages per Second
Fixed issue of Receiver not closing connection after inserting to
database;