added hierarchical structure to Ingredient entity