create a view with a controller and add to the tree container view