You could parent a null object to each thing you want to be moving about the place. Then use the Beam effect on a new 2d layer to make your line. You will have to do some expression work to get the points to follow correctly.
You need the null object's anchor point to the comp. (Since it's parented, just pointing to the anchor point won't work.)
- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')
No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.