add controllers and views to generator