Create PDF and Pull values from DB

Two functions now created: one to pull from the DB and assign values to
variables and another to generate the PDF.