database.php nshould be the place to store database functions