Java implementation of Zookeeper Coordinator for master-slave cluster setup via Zookeeper