1. A state engine system, the system comprising: a. a CPU; b. a memory operatively connected to the CPU, the memory containing a program adapted to be executed by the CPU and the CPU and memory cooperatively adapted for managing a plurality of objects stored in a database, whose behavior can be modeled by means of a state diagram reacting on external events which occur in a non-deterministic order; c. a code segment embodied on a computer-readable medium configured and adapted for creating, storing and maintaining state diagram templates in a database, the database comprising all states available for the object, the possible state transitions, the events which cause state transitions, and the actions which occur upon state transitions: i. wherein there is at least one event causing each state transition; and ii. wherein the actions which occur upon a state transition is dependent upon the event that caused the transition; d. a code segment embodied on a computer-readable medium configured and adapted for creating a new instance of a state diagram for each new object and maintaining its current state in the running state diagram; e. a code segment embodied on a computer-readable medium configured and adapted for receiving notification of an event and applying it to the relevant running state diagram; f. a code segment embodied on a computer-readable medium configured and adapted for causing a state transition upon receiving notification of a event; and g. a code segment embodied on a computer-readable medium configured and adapted for causing the occurrence of one or more pre-determined actions triggered by a state transition, wherein one of the pre-determined actions is the initiation of a timer, wherein the timer is configured to cause an event to occur after a pre-determined time.