replacing code to use newly refactored word counter and freq counter classes