Added logger and config params to bookscan class
Fixing change