remove the test and main method from pdfCreator

remove the test and main method from pdfCreator