MVC for tree view