generated product controller and views