Getter method "path" will now return the path object.

Fixed "Control reaches end of non-void function" warning.
Merge pull request #3 from Shilo/master

Getter method "path" will now return the path object.