added facility to add job batches with personalized ids, allow access to underlying db