adding database.php
Fixing object dumping