Many improvements to Actions and migration. Added temp methods for testing Batch (WIP)