Create a proper playlist API