refactored http requests and response processing to a new module