Write Config.java