some performance optimizations & refactors
Merge branch 'master' of github.com:runa-dev/kits