Adding new class DocumentSimilarity