#211 make photoService class