Help, how to make a system of *connecting* objects?

upd