Batch consumer

this would resolve #10