Added view object

added the object that will be the view when a button is clicked