add index method to grab middleware handles for label assignments. fixes #2
Merge pull request #4 from devoidfury/index

Fix #2