test StateMachine
add Mustache.js
finished "dialog", no test, go test now!