Added lastAccessDate to photo model, changed the cache directory.