Created getIndex() method in CollectionsHandler.

Closes #90 :smile: