generating products controller and views