Moves networks into a submodule

Refactors plugin.py by moving networks functions and their associated
tests into separate submodules for easier plugin readability.
Merge pull request #140 from Cerberus98/networks_submod

Networks submod