created gameObject class, Ball and Paddle extend it