Batch class for aggregating write operations