Updated method to grab API Key. Probably should move this to another class...