Added job persistence support using MongoDB.