Added comments to database.php