Fix indenting
Almost working co-routine based statemachine use