doc(readme): explain more and add example

Further explain the motives for creating this library, and add a simple example to demonstrate
the idea.