Add tree view and manage it