Added documentation to database.php