rework of all tools to use 0mq based message passing