implemented SubCategoryController and beans