commit by tangdongchu

更新config参数化，从XML读取相关配置