buildTree() working on VM, listAllRoots needs to implemented