Link detection

Closes #5 

Leave the merging to me...just give the thumbs of approval