Made factory to deal with different ways of creating statechart.
Modified runtime to deal with small/big step data read/writes.