created tree component & view