changed how the node module exports are set up. started unit test file for Indexer.