First working implementation of network