Application separation (sandboxing)

Refactored file watching and application cache separation