adopt g0vphotos changes
split datasource into mongodb and gcs. separate functionality into watch, aux and main.