Adding class for Ball
Refactoring for addition of the Ball class.