connected playlist to db

first stage