Update direction and state detection flow
Merge branch 'master' of github.com:boo1ean/molyjamdn