adding path tools and some tests
additions to path-tools