Refactored batch_pitches controller