added all relationships to class1 where it is the 'many'