generating product controller ans views