flux's utility mod
provides an API for queuing things for batch processing w/ various ways to specify the batch "size".
craft registration API which automatically deals w/ replacements