Add some examples of how to create type_indexes
Documented some of the classes and features