My open-source project for configuring of finite state machine https://github.com/ozontech/state-transition