Added AbstractSearchProvider and skeleton of category collapse functions.