added job archiving and status updates
set the job state before running
fixed validation
code clean up
added readme file
merge