Removed sessionfactory property in all bean and using autowiring
instead.
Using autowiring for sessionFactory
Removed GenericDao
Clean up old code