Network: finish add method implementation, write some tests.