Implemented tree component.
Implemented tree component. Templates.