Move entity manager config to application config.