Tons of progress on netowrking sample, needs further debugging and bugproofing