Animtion on Units working

Added xml reading for animations.