configurable domain, port and zmq_port by class name