Refactor: move to a centralized command line interface, use zookeeper to register processors