Application separation (sandboxing)

Refactored examples