restructuring examples
refactoring of examples
Merge pull request #11 from rmk135/examples-refactoring

Examples refactoring