implemented httpresponse builder; refactored http responses