added entityManagerFactory bean, injected xml context into bean