Added database.php sample and fixed design bug