Big refactor to netcode, hopefully more modular approach to networking.