rewrite utils.dependecy* stuff

to have a map. makes it easier in hmmwriter