add text and content_type to Response constructor
response processing refactoring
update docs