add of a view and a controller