Refactored import animals from csv