update config handling to allow use of simple or default connector factory