added rename, clearConfigItem and setConfigPath functions