feature: add loadPDF function for loading PDFs dynamically

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>