Adding photo class