DALMWrapper using more efficient state class in DALM.

We've modified DALM to have a state class in the latest version.
We create a patch of DALM wrapper to use the state.