added model and local storage adapter for playlists