class.database.php