also impl Error for JobInProgressError
move models.rs and schema.rs into database::inner create util module (with hash and jobs)