Adding api example for composition
Merge pull request #44 from blink1073/example-api-composition

Adding api example for composition