Update database.php

An example database.php class that I have written.