refactoring
basic ZeroMQ support and test