module can receive messages and send them back to the client