Move animal global variables to animal.h