Moved all SQL to ludoSQL.php