Basic network structure. Unit tests.