Token frequency object that handles all the work of creating a frequency dictionary for any text that's passed to it.
Refactoring.