Modified categories to have parent-link hierarchy