Refactors the hazelcast implementations according to #374 (closed) in order to add integration tests: Changes: