Make elastic search proxy bundle agnostic to the project

Use events for modifying request