Move http module related code to http directory