DBConnection class edited