Moved network init/update to main