1. A system comprising: a processor coupled to a memory, and at least one program executing under the processor, wherein processes of the at least one program include: detecting an event of a source device; generating at a first application at least one data sequence comprising device event data specifying the event and state information of the event, wherein the device event data and state information are type-specific data having a type corresponding to an application of the source device; forming a data capsule to include the at least one data sequence, the data capsule having a data structure comprising an application-independent representation of the at least one data sequence; and a repository providing access to the formed data capsule, wherein the first application has a first application type and a second application has a second application type, wherein the repository is coupled to a plurality of applications, the repository including a plurality of data capsules corresponding to the plurality of applications, the repository providing access to the plurality of data capsules by the plurality of applications, wherein the plurality of applications include at least the first application and the second application, and wherein at least two applications of the plurality of applications are different applications.