DinoDex refactor

Refactored DinoDex based on comments from first pull request.
Extra empty line detected at body end.