Made a dynamic ai loader.
new class for ai