replace Network with NetworkBase in module