Added some basic network code.