refactored tree model and find branch
refactored buttons method intro constructor object
a little more refactoring
Merge branch 'master' into refactortreejs