Moved setup to parent directory.
Fixed polling so that the process sleeps if no zmq requests are present.