Abstract zookeeper from the main logic, only expose logic to increment,decrement counter