move zk functions to curator.
abstract accessing zk methods.