Network wrapper & friends

This makes a network handler (il provide documentation later)
It also adds a way for users to add and remove friends (will make more features later - this is just a framework)