Added root detection

* Also updated links to new doc pages.