Cleaning up code

- cleaning context code
- adding script to run all examples