added httpRequest class