create pdf class creates a static pdf