Added logging.
Refactored Photo and File service.
Added checksum on photo file.
Added repository.