Refactor behaviorEvents and behaviorTriggers to encampsulate functionality in Behavior