add friend basic implement

Signed-off-by: xiehuc <xiehuc@gmail.com>