Add indexing class

Indexing class to handle work that will be performed inside of workers.