Rewrote class for tracking touches.