updating readme with a simple example
improving documentation