functional beta version with working library and playlists