Implemented a tree browser for documents
Need to make it more generic for any tree