Refactored the parsing of the response to the base class. Refactored and cleaned up the http module