Restructure module functions
Add Generate PDF features
Add pdf_using_mpdf to dependencies