add INet, INetStructure, main