deleted unnecesary files. and added new method to create the index with mapping