added PDF documentation to lib