Fixed #174: improved pool and api to using zk

And what?