DB.php : file handles connection to the database