Add the SQL.php and some bug wait to fix