Dinodex

Should only have dinodex stuff.
Refactor this. If `command_class.accepts?` returns false, the whole loop iteration will return `nil`, so we can use `COMMAND_CLASSES.first do` instead to ensure that just one command does the job.