set search root path & writable path

Rename to `setDefaultResourceRootPath`?