Add basePath to allow re-usability
Merge pull request #82 from mareksotak/master

Allow configurable base path