Refactoring

Added network.c
Updated README file