How to establish links between objects?