Add get-es-indices
Rename some functions
.