Added real documentation and fixed the tree command