Update README and add database.php sample