First stab at a batch-based worker
Rebasing against master and updating implementation to correctly complete and batch fail/abort messages