add events and logging
add rebar config twit