Implement network method 1 (hipri) and started implementing method 2
(ap) which doesn't work yet.