Remove max_battles
Move reading code out of trainer