improved facets implementation and added ajsp file for manageCategories