use map to speedup lookups for artists and albums
remove unnecessary function