Moving the api from directly Communicating with the pod to interacting with the backend and openSearch DB