Added example of usage.

Added code examples how to use as well as more descriptions.