Refactored code to use Donation Batch(#181)