adding basePath to settings, fixes #23
Merge pull request #26 from mac-/master

adding basePath to settings, fixes #23