Created Header file for net.cpp