added httprequest class