EntityManagerFactory as singleton to make it thread save