Added Category Bean and method to add categories and subcategories