refactor viterbi: pull down node repository to HmmViterbi