first working version of a automated playlist generator