new method to set path (and reinit config)

`setPath` now enables changing configuration even after initialization.
Merge branch 'set-path'
0.0.9