closes #361; closes #393
Merge pull request #397 from duke-libraries/batches_refactor

closes #361; closes #393