Example refactor and README update.

- A refactor on examples to help better understandings.
- Update missing license declarations.
- Update README.md