Update and rename core/classes/Database.php to application/Database.php