Updated the DAO an dthe Spring config files for fixing the persistence

The persistence was failing due to some issue with the hibernate session factory.. so i fixed the same. i removed the HibernateDAOSupport and added the Sessionfactory directly