add examples for standalone

@ramnathv let me know what formats will work best, but example.R has 2
examples and some description on use