Refactor dynodex to by a little bit more flexible and remove some of the...

... functions from dino