Refactored the code bit to remove some of the repetitions
.gitignore files added in dino_catalog