Revert "Deleted database.php"

This reverts commit 18fe2cd98077ea84b08ca5e239802ac4e764b227.