minor changes in the model

The root element of the internal execution model contains StateMachines
instead of AbstractEventPtterns. + The necessary refactoring.
Renamed AbstractEventPattern to EventPattern

+Change in the affected references.