Dinodex

Reworked into an API
This dup isn't required at all.