Creates Animal class.