Added methods to DBConn.java