generated products controller and views