REFACTORED: extracted similarity calculations in new class called
SimilarityCalculator