updated readme
updated example
added documentation