fixes #52

Introduce Communicator Interface to handle communication of monitoring/heartbeat message between nodes
(or database).

M
Merge pull request #53 from msimonin/fixHeartbeatMonitoringIssue

Fix heartbeat monitoring issue