new class photogallery contains basic structures of methods for work with photogallery