Establishing relationship between modeles