Adds text field to view controller and sets as delegate