Zmq

Final version without debug messages.