modular ai aiadv
refactor AIs