Change properties
Change Hibernate version to more compatible
Improve DAO