Merge pull request #49 from elliot42/master

Add simple wrapper to get root path of tree
Add idempotent