New MainController to handle all search functionalities