Add PDF class, write barcode methods