A ZooKeeper based distributed workflow management library