DB.java

Java codes to be used for db manipulation