Update AppConfig.java

add some new features