added trees to index.html and library for tree-handling