refactoring to move state out of VxRuntimeContext and into VxConfig