Small interface changes and cleanup

Minimal functionality achieved. Next steps: error handling, nonces,
move static code out of job process and load it from handler