Created "index" field and getter/setter

Was having issues setting the previous "indexName" field from the configuration XML