Loads initial books from .json file into database.
Switched to a more functional style