Implemented category hierarchy storing from ParentToChildren structure