Add mappings and settings for elasticsearch index and CUD updating for index