Refactor zk explorer code.
Merge branch 'master' into resharding