Move the responsibility of importing csv into the batch
Don't import duplicates.

Fixes #1