improvement

improve behaviours management
clean useless actions
add EventEmitter library