Add interfaces for the incoming request and outgoing response
For easy mocking and to follow interface based development