AIDirector stage system refactored