Dino dex

Refactored code and cleaned up arrowheads following discussion with Dan
you're keeping track of a lot of state here (all your global variables, for example). this should be a class instead of a module.