Added PDF library and functionality