New changes to App.java

Using Hibernate