split the search context controller methods into a separate module.