Added replication, player state and game state for multiplayer