Changed connection factory to take explicit list of device names for auto-connecting