refactors much of the prompt work and custom error messages into BattleroomMachinery module