allow p:library imports and fix non-existing directories

fixes #5
fixes #13
Merge pull request #14 from daisy-consortium/fix-library-import-and-nonexistent-directories

allow p:library imports and fix non-existing directories