add endpoint_url, generalize settings interpretations to constructor and setter