Refactor rootURI