public static Configuration getConfiguration() { if(config == null) { synchronized (Configuration .class) { if(config == null) { config = new Configuration(); } } } return config; }