First draft of AI module structure