Extract category helpers
Current situation
Categories are used for provider plugins and generator plugins. Code is currently duplicated in the toolkit side and in the arranger side.
Desired outcome
Extract and generalize the category handling helpers.