Added docs to BaseAI