made the battle creation and loading more modular