Added clientID arguments to all methods that didn't have them already.
Added diff argument to updateSample/EventCount methods.
Added clientid paramters to some methods.
Fixed the monitor calls so the conform to the current requirements.
Added clientID parameters to various calls.
Moved all monitoring stuff from the dataStores to the ConnectionThread.
As to reduce the time the dataStore object is blocked.
Removed adding monitor to the datastore. Added adding the monitor to
already created threads.