1. A method for providing a runtime environment comprising: generating a first active document; and creating a first shell for the first active document; wherein the first shell comprises: an executable code that provides management and connectivity features to the first active document; and an interface to provide access to the first active document; and wherein the first shell operates in the runtime environment to coordinate the management and connectivity features and to distribute tasks.