Added initial version of BatchProcessor prototype.