removing entity manager related code