implemented InitInv and SnapshotInv methods on batchreactor