hoanvk restructure and integrate Spring with Hibernate