Playlists, YouTube player and API controls, and refactoring