Completed the DBConnection class (Or, a test version)