Added a sample config file
Added batching