Add an output include file and move output type functions into this file.
Add an output include file and move output type functions into this file.
Refactor job selection and output helpers.
Clean up code comments.