Create Photo model class and accessor methods