Made some major changes to the structure of the RandomIndexing class.