Updated sample code to show how the library works, so it works out of the box