frame_photo : Refactored writing of the photo, implemented reading, photos in list of frames need to be implemented.