Add simple functionality to show indices at the command-line (and a corresponding inner function).
Merge branch 'master' into show-indices

* master:
  remove unused regex validation
  first go at updating index routing allocation
Merge pull request #68 from untergeek/master

Add get_indices function and cmd-line args