Zmq architecture

Missing docstring. I will not comment other missing docstrings to avoid the burden, so please check every class, method and function to guarantee all of them are documented as well as every parameter.