NXP-14008: refactor EP to setup elasticsearch, providing either a local or a remote config, removing controller