unused import removed; DAO JPA/Hibernate stubs added; config for sessionFactory,txManager and dataSource added