Making tree from class "Tree"

I wrote some classes for project's tree.
Class Tree contains structure of project's tree. If you want create new
file in new package, package will created automatically.
Function "calcParents()" in class TreeProject allows to create&update
tree's hierarchy.
Tree is successfully converted to JSON and parsed in tree in client
side.