general functionality for automatic mappings move to batch
cui mappings refactored to use general functionality from batch
loom refactored to use general Batch functionality