Added object representation of HMMs