repaired autowiring of sessionFactory, hibernate packages to scan