Added database.java into project