fixed integer comparison bug
changed addSubscriber behaviour to builder-style
divided model execution into init and run phases
refactored model execution termination via subscribing mechanism
added patterns to database (dpt + events, initial implementation)