Finished rewriting playlist API and adjusted most of the affected program parts