Refactor AnimationHandler to Animator.