DetectorFactory is no longer static so as to make this library shareable (eg. same library for different webapps loading different profiles)