Added licenses; refactoring; made ZMQ IO threads configurable; added test for spring