Adding tree structure list route and remove main element and all sub docs with events