<div dir="auto">If your structure is stable. Use an array of classes. Then if not then  an array of collection can be a good idea.<div dir="auto"><br></div><div dir="auto">I do prefere a class in your case. Think you also add code to manage rendering or manipulation  in the class itself. It is at the same time the container fot data and the tool who know how to use it</div></div>