Add NetworkConnection class