Added code for inserting batches into the DB