added zmq pub/sub message handling & test file