Update Database.java

Added some comments