Move network flow to the same package with gui.py,otherwise python can't
run gui.py because it can't find the specific module.