Implemented bulk imports

This fixes #3.