Basic Implementation of BehaviorTrees