implemented Database.java
Database.java added