Creating the credentials and api_key files if not provided