adding networkcommands.cpp