Removes switch case and starts framework for finding category name