Implemented basic network connection