Moved jms client code into separate module