Added config object
Updated config to use execution context. Wired config into client.