Refactor, and photo / media classes to handle EXIF and hashes