added domppdf and html2pdf libraries
created route for downloading pdf
defined pdf function for abstractc controller