Move parsing input out of processing class
Implement printFrequency