Added some classes to handle multiplayer.