Updated readme, added min version

Updated readme doc, added exacmple to doc, did a bit of documentation,
added minified version.