Move API_URL to config.