Start of conversion to zmq