Extract processor functionality to separate class