change api, mold becomes render and freeze becomes mold
add initial state
add simple state machine transition
set state machine transition state
state machine execute transition without changing current state
state machine change state without transition callback
state machine transition callback is not mandatory
pass state arguments
change API and rename states to hook
add state machine transition
Merge branch 'refactoring' of github.com:bredele/brick into refactoring