Created ball class.