Cleaned up PingPong network code