Changed hmm::hmm to hmm::state and started hmm::model_definition