Added category search function. Still implementing search view.