performed major refactoring, removed lots of unnecessary code, made better use of Zookeeper with a custom payload.