implement batch import for books