Add early networking support. Moving some things around.