centralize client instantiation
use the key and id provided in the config Fixes #16