Added BatchProcessing class