Added library code and example
Modified README
Modified example to show result in the browser