Change from CategoryTypeEnum to Category. Category is now a tree structure that is loaded from YAML