Remove the rootPath from the config and and the webinstance and core pat...

...h in the entry point