TaskFlow::initPhotostorage

Inits photostorage instance if required