view and controller are created