Added the ExportPDF and the controller