Rough implementation of server and client networking.