updated LibraryService to use new pyPdf wrapper PdfBox