Refactored dinodex based on Franco's comments

Many of your methods are using the parameter `dinos`. This is a clue to set it as an instance variable, or further abstract into another object