Added AbstractAnimal class.