update readme with better documentation and how to run the example