Fixed int id size too small, was int(5) changed to int(11).
Changed lowercase class names to uppercase.
Changed mysqli and pdo to MySQLi and PDO.