setup view and controller