created view and controller