Implement online batch processing mode
Merge pull request #17 from sashafrey/master

Implement online batch processing mode