Updated the example
Created a client-server example.
Some more changes.