BS-9324, refactor state machine
BS-9324, add business data at activity level, move multi instance
behaviour in statebehaviour