renamed CategoryComponent to CategoryDatabase.