added oneToOne relations and oneToMany relations