hero factroy or not
state machine or not
ts file