add support for using the google datastore as a database for photos