moved to other library
method adapt renamed to adaptSearchResults
initial import
code review and improvements