Adding class entity for the gallery