resetCache resets loaded class cache
Also new method to get NMS class easily