Improved readme and added an example.