create elastic search module to make it reusable in future modules