Added relationships to model files. (Required adjustments to image table creation.)