DinoDex refactor

Refactored DinoDex based on comments from first pull request.
Personally, I do prefer the indented version. But I saw this: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case

So, @ddzz looks like you will need to make this changes :smile: