Merge pull request #6 from m3talsmith/master

Refactored path creation and deep cloning
removed stray console.log