Revamped the category search entirely

It is now possible to search for several categories at once.