add install routine
remove all static config slag
use dynamic configuration, some other fixups