Added Index class in IndexReader that has the structures needed

Structures are not yet implemented.
Made Trees more generic by adding MyGenericTree that should know how to
build and move with in a tree