Batching of record imports

Allow for record imports to be batched.