completed DatabaseApplication.java