Write job output to own folder.
Changed id to uuid to avoid class with controller param.
Factored out common config.
Job is written to disk as JSON.
Refactor.