Moved network configuration to main file