make batch size configurable via request parameters
Merge pull request #115 from witsch/configurable-batch-size

make batch size configurable via request parameter