Adding support for REST instance.
Adding support for REST instance.
Minor refactoring to allow legacy EntityManager to be used outside of tests.
Changes to get non-embedded ElasticSearch working.