extracted ResponseConsumer interface to a new file