Build the basic connection to DataBase