Add classes to manage network connection