Initial hack to add batch operations to ES.  Needs some serious TLC when we have a bit of time.
First pass of changing cp and rm manager to use batches