Cleaner implementation of saving Jobs in executor. Works but needs to be tested on bigger models.