Major communication protocol rewrite