Application separation (sandboxing)

This version is working abut it is not ready for production deployment
and have known issues. It is published for impress co-authors, testing
and suggestions.