one-to-many and many-to-one for Contacts and its other relationship