added storyboard and deleted unused code