Execution Environments for Running Legacy Applications in Multi-Party Trust Settings