Creating a PDF Reader class