Rough functional version that produces a pdf report
First functional version that produces a pdf report.