Splitting ZMQ module into separate files.