generates controllers and views