add examples and update README+LICENSE