Generalized Config class. Created GalleryConfig.