Modified main function to allow querying by species and reflect changes to API