Created base class for collection views