Friend logic added (WIP)

Next, I’ll branch out of this code to investigate whether having a
single groups store that loads remotely is better than maintaining 3
local group stores.