Copy the examples from script repository

Moves the scripts under Example folder to new api.

It does copy the same scripts that were already migrated from the scriptrepository

re #7698
Merge branch 'feature/7698_migrate_examples_api' into develop