Update

Minor updates to the library and example. Updated readme and license.