bug fixed:get correct id for the first workflow
bug fixed, also delete xml file when deleting workflow
fixed the way to monitor jobs
fixed the way to re-submit