Saving book information to filesystem and database