Adds batch processing
Review changes
Merge pull request #1 from varvet/batch-processing

Adds batch processing