Changed the animation system to be more robust. This added multiple sub-animations per animation.