Changes location of Bing API code for more consistent implementation