Added env module to figure out the base URL of the API.