Reworked tree.js
Added code
Reworked code
Resloved conflicts
Added code
Merge branch 'reworkTree'
Changed code
Changed code