started to change the photos repository to use XML file