Documentation, reformat and small refactor
- renamed Zookeeper and consumeTopic(), but kept references for backward compatibility
- removed global vars
- zookeeper interactions in a central place