AD model almost completed

temporary config.php,