finished the photodatabase class. Use the photodatabase to pull info from backend.
housekeeping.