generating the product controller and views