Skapade TextAnalyzer.cs (separation of concerns)