added pathToObj function and some code refactoring
Merge branch 'path-to-object' into develop
Bumped version number to 3.1.6
Merge branch 'release-3.1.6'