Improved documentation;
Removed printf's from network.cpp.