- minor reorg
 - minor reorg
 - provide a way to support pre-built config.xml
 - add support for pre-built config xml