Add m_init filed to batch_config object, include context fields in batch_strswap, and introduce rsub_sys.