setting up mesos for deis support
Refactor zookeeper tasks