clear up statemachine namebinding
removed unnecessary definition for state transitions
add generation for statemachine send statements
store properties for in and out events
syntax and namebinding for out event references