add network main controller
working on 0.1 structure