Dinodex

Reworked into an API
rewrite this to work as multiple independent statements, or to fit cleanly on one line.