Add api and helpers to allow submission of a job and follow at least its state (logging to come later)