Added support for XML based models and CPS integrator