modules: refactor: replies should be returned

This closes issue #60

This is to aid in the upcoming JSON-RPC api.