Search for friends

#22 

This depends on #35 . Once that's merged, I'll rebase, and this PR will be more manageable.
YEAH IT IS. I have very mixed feelings about it.