initial zookeeper backend, totally inefficient, but passes tests