Completed mock call generation functionality
Made elastic search host configurable