made a common interface for the two tfidf calculators and made a UI for switching between them