Changed our API Key fetch to happen from Frontier

please test code and have code reviews.