Added Accelerometer control via Ball class.