Added global variables to Database.php