Cleaned up comments in the network package, and added appropriate JavaDoc messages.