Initial structure of photo plugin