changed viewcontroller to accept buttons

added button function as placeholder