Adding batch.py module.