Added NetConfig class.