Created class hierarchy for different GridContainers. GridImageContainer contains the functionality of the old GridContainer which is now the base class of the inheritance hierarchy.