Adding example for console
Merge pull request #214 from echangmoz/master

Adding example for console