Broke out the Last.fm API functions so that we can achieve more modularity.