Changed the search method to be a class method.

You can see the change in searchs_controller index action and the search model.