Added ability to set BaseURL from code (similar to how API key is done)