Added specifications for the network protocol. Moved example.