Create class HMM model class