Refactoring:Separating Concerns, removing unused import-Pyflakes changes; Tests:Article,text_processor,unigram_distribution tests