Adding API key and getting uninitalized constant