(refactor) Refactored Request into Request and HttpRequest.