Added classes for the basic animation of a ball over a rectangle.