Defining and inventorying products