[WIP] instantiate config

Taking a stab at #1 but am struggling.