refactoring a ton of old podcast player logic that I wrote when I first learned swift