implemented a ConfigurationFactory.java