Create a hierarchy of classes and draw a list of objects