got the addfriend class working, will leave it like this for now