Create agrinet.cpp