updated method names in Configuration.java and samples