add python player object that emulates player behavior
decouples player and peer, approaching the js implementation