Add actions + Adapt code to behaviorTrees