change default namespace and config-id
fix namespace type error
now add-jar supports add a directory of jar
move all the non-function code into -main
add uberjar