hub: move all import statement into function
reload and restart sub processes dynamically!

tune codes online and visit http://box:8100/reload, it works!