export PdfController to v8 as PDFDocument
split PdfController in Controller and Model part.