create view and controller set up