Brought categorization logic over to refactored module and wrote first passing test for the new Categorizer class