close #11 add methods for create and delete index with mappings