A windows registry helper to read settings from the registry