Revert "Delete database.php"

This reverts commit 8129b62399a8d62d7555e9f85a5ad03899e945fd.
Revert "Delete app.php"

This reverts commit ea794b1a434acb80b6736fdabdf7adfea2013cce.