Add basic pdf functionality to be finalized later