Refactor network.js
Merge pull request #578 from eordano/refactor/networks

Refactor/networks