Refactoring; changed job command names to 'submit' and 'submit_wait'; config url includes a path to RestApi.