Markov model class