QDX:Reconstruted the code I wrote into a single class, and add lookup functions for ping data.