Refactoring the qbwc gem to persist jobs to the database better.