CategoryRepository refactor