Testing subcategories
Refactored code
Added method to create subcategories after creating a category.
Commented out old token const.