Erlang Behavior Tree