Refactor implementation of resource tree.
Merge branch 'root_page'
Add .vim files to .gitignore.