Fixing test cases and adding better documentation to APIs
Moved zookeeper API from main into API section.