Pass api url env var to api constructor instead of setting it in cclib module