Added a basic example.

Added the basic example to the readme.
Improve a bit the usability of the library.