API key and endpoint now come from properties file.