completed first version of playlist plugin