New entity manager class