Refactoring

The HTTP request is not abstracted to a separate object. This allows for easier manipulation as each component of the request can be retrieved using variables.