Mpdf class, in progress