group search results by categories; add WsgiSearch