moved search functionality to its separate app