Fix some path trouble - some stuff must be done it's a beginning
Other fix for the path
Merge pull request #3 from Cryde/path-cleaning-first-part

Path cleaning - first part
Don't need rootPath and webinstance params anymore
Merge remote-tracking branch 'upstream/master'