Main controller
this is the view