New network package created and some functions added