add view and controller