Removed the singleton design from the Configuration class. Added a `config` field to ApiClient to hold the settings the ApiClient uses.
Closes #1399