Refactor jobProcessor to be method on struct