Features/indexes

This PR allows listing, creation and destruction of indexes.