Move search to a separate controller

Be more RESTful.