Set up the view