Fixed return type data at doc comment
Added label property to transition and updated config and build transitions
Implemented basic state machine, but currently without change state logic