Created a controller for searches, sotred my methods in there as well