Refactored 'categories' out of code, replaced with _catDB