added license details; updated network.h and network.c