Create a new base object for the photo classes which contains common code.