Move playlist handling out of the spotify handler