added some view controller code and changed the storyboard to have table view button