modify to user commons-configuration instead of java.util.Properties