Code formating
Removed useless code.
Restuctured code.
Renamed http_req to http_request.