add basic structure for networking