Refractoring started

Constructor, animateBorder(), and animateVertical() are done.