moved processing logic to processor class
Merge pull request #27 from dglunz/refactor_everything

moved processing logic to processor class