Update Database.java

Working database stuff!