Implemented first version of photo exporting