Put the PDF class in its own file