Added the AI module

Added the AI module
Features